package model;

public class Sale {
	private long saleTime;
	private int saleAmount;
	private int shopID;
	private int itemID;
	private int customerID;
	private int saleItemPrice;
	
	public Sale(long time, int amount, int shopID, int itemID, int customerID, int price) {
		saleTime = time;
		saleAmount = amount;
		this.shopID = shopID;
		this.itemID = itemID;
		this.customerID = customerID;
		saleItemPrice = price;
	}
	
	public Sale(int amount, int itemID, int customerID) {
		saleAmount = amount;
		this.itemID = itemID;
		this.customerID = customerID;
	}
	
	public long getSaleTime() {
		return saleTime;
	}
	
	public int getSaleAmount() {
		return saleAmount;
	}
	
	public int getShopID() {
		return shopID;
	}
	
	public int getItemID() {
		return itemID;
	}
	
	public int getCustomerID() {
		return customerID;
	}
	
	public int getSaleItemPrice() {
		return saleItemPrice;
	}
}
